package com.sdleyou.treepro.common.model.convert;

import com.sdleyou.treepro.common.model.dao.AreaDO;
import com.sdleyou.treepro.common.model.vo.AreaVO;

public class AreaDO2AreaVOConverter {

    public static AreaVO convert(AreaDO areaDO) {
        AreaVO areaVO = new AreaVO();
        areaVO.setBaseIcon(areaDO.getBaseIcon());
        areaVO.setAreaId(areaDO.getAreaId());
        areaVO.setAreaIcon(areaDO.getAreaIcon());
        areaVO.setAreaName(areaDO.getAreaName());
        areaVO.setLocation(areaDO.getLocation());
        return areaVO;
    }

}
